#ifndef PAGEINTERFACE_H
#define PAGEINTERFACE_H


#include <QObject>
#include <QWidget>
#include <QIcon>

struct QFindResult;

class PageInterface: public QObject
{
    Q_OBJECT
public:
    virtual QWidget* widget()=0;
    virtual QString  text()=0;
    virtual QIcon    icon()=0;
    virtual int      index()=0;
    virtual bool     enabled()=0;
    virtual QFindResult* search(const QString& text,bool sensitive,bool whole)=0;
};

#endif
